<!DOCTYPE html>
<html>
<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>查看投票</title>

    <link rel="shortcut icon" href="favicon.ico">
    <link href="__PUBLIC__/Admin/css/bootstrap.min14ed.css?v=3.3.6" rel="stylesheet">
    <link href="__PUBLIC__/Admin/css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
    <link href="__PUBLIC__/Admin/css/plugins/iCheck/custom.css" rel="stylesheet">
    <link href="__PUBLIC__/Admin/css/animate.min.css" rel="stylesheet">
    <link href="__PUBLIC__/Admin/css/style.min862f.css?v=4.1.0" rel="stylesheet">
    <link href="__PUBLIC__/Common/layui/src/css/layui.css" rel="stylesheet">


</head>

<body class="white-bg">
<div class="wrapper wrapper-content">
    <form role="form" class="form-horizontal layui-form layui-form-pane" method="post" action="{:U('Admin/Goods/edit')}">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">投票编号:</label>
                        <div class="col-sm-10">
                            <input type="text" name="id" id="id" value="{$info.id}"  placeholder="" class="form-control" disabled>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="hr-line-dashed"></div>


        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">标题:</label>
                        <div class="col-sm-10">
                            <input type="text" name="title" id="title"  placeholder="没标题"  value="{$info.title}" class="form-control" disabled>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="hr-line-dashed"></div>


        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">投票人次:</label>
                        <div class="col-sm-10">
                            <input type="text" name="price" id="price"  placeholder="0" value="{$info.price}" class="form-control" disabled>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="hr-line-dashed"></div>

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">浏览次数:</label>
                        <div class="col-sm-10">
                            <input type="text" name="views" id="views"  placeholder="0" value="{$info.views}" class="form-control" disabled>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="hr-line-dashed"></div>

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">投票简介:</label>
                        <div class="col-sm-10">
                            <textarea type="text" name="content" id="content"  placeholder="0" value="{$info.views}" class="form-control" disabled>{$info.content}</textarea>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="hr-line-dashed"></div>

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">投票状态:</label>
                        <div class="col-sm-10">
                            <input type="radio" name="status"  value="1"  class="form-control" disabled title="已通过审核" <if condition='$info.status eq 1'>checked</if> />
                            <input type="radio" name="status"  value="2" class="form-control" disabled title="待审核" <if condition='$info.status eq 2'>checked</if> >
                            <input type="radio" name="status"  value="3"  class="form-control" disabled title="审核已拒绝" <if condition='$info.status eq 3'>checked</if>>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="hr-line-dashed"></div>


        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">是否设置密码:</label>
                        <div class="col-sm-10">
                            <input type="radio" name="password"  value="1"  class="form-control" disabled title="是" <if condition="$info.password eq ''">checked</if> />
                            <input type="radio" name="password"  value="2" class="form-control" disabled title="否" <if condition="$info.password neq ''">checked</if> >
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="hr-line-dashed"></div>

        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">是否匿名:</label>
                        <div class="col-sm-10">
                            <input type="radio" name="anonymous"  value="1"  class="form-control" disabled title="是" <if condition='$info.anonymous eq 1'>checked</if> />
                            <input type="radio" name="anonymous"  value="2" class="form-control" disabled title="否" <if condition='$info.anonymous eq 2'>checked</if> >
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="hr-line-dashed"></div>


        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">是否上架:</label>
                        <div class="col-sm-10">
                            <input type="radio" name="is_show"  value="1"  class="form-control" disabled title="已上架" <if condition='$info.is_show eq 1'>checked</if> />
                            <input type="radio" name="is_show"  value="2" class="form-control" disabled title="已下架" <if condition='$info.is_show eq 2'>checked</if> >
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="hr-line-dashed"></div>


        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">封面图片：</label>
                        <div class="form-group">
                            <div class="col-sm-6">
                                <input type="hidden" name="files1" id="file1" class="form-control" value="{$info.cover_url}">
                                <div id="fileImgDiv1" style="display: block"><img src="{$info.cover_url}" alt="" id="fileImg" width="200px"></div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div class="hr-line-dashed"></div>
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="form-group">
                        <label class="col-sm-2 control-label">发布时间:</label>
                        <div class="col-sm-10">
                            <input type="text" name="views" id="create_time"  placeholder="0" value="{$info.create_time|date='Y-m-d H:i:s',###}" class="form-control" disabled>
                        </div>
                    </div>
                </div>
            </div>
        </div>


    </form>
</div>
<script src="__PUBLIC__/Admin/js/jquery.min.js?v=2.1.4"></script>
<script src="__PUBLIC__/Admin/js/bootstrap.min.js?v=3.3.6"></script>
<script src="__PUBLIC__/Admin/js/content.min.js?v=1.0.0"></script>
<script src="__PUBLIC__/Common/js/ajaxForm.js"></script>
<script src="__PUBLIC__/Common/layer/layer.js"></script>
<script src="__PUBLIC__/Common/layui/src/layui.js"></script>

<script>
    layui.use(['layer', 'form', 'element'], function(){
        var layer = layui.layer
            ,form = layui.form
            ,element = layui.element

        //……
        //你的代码都应该写在这里面
    });

</script>

</body>


</html>

